
function student_list()
{
    var studentGridPanel=Ext.create('Ext.grid.Panel',{
        id:'studentGridPanel',
        //title:'学生列表',
        tbar:[{
            xtype:"tbfill"
        },{
            text:'添加',iconCls:'',
            handler:function () {
                student_add();
            }
        },{
            text:'修改',iconCls:''
        },{
            text:'删除',iconCls:''
        }],
        border:false,
        columns:[{
            text:'学号',
            dataIndex:'sno'
        },{
            header:'姓名',
            dataIndex:'name'
        },{
            header:'性别',
            dataIndex:'sex'
        },{
            header:'年龄',
            dataIndex:'age'
        }],
        store:{data:[{'sno':101,'name':'sno','sex':'女',age:'100'}]}

    });

    return studentGridPanel;
}